package synchronization;
public class SaveMoney implements Runnable{
	private User user ;
	private int money;
	public SaveMoney(User user , int money){
		this.user = user;
		this.money = money;
	}
	public void run(){
		user.setMoney(money);
	}
}